<template>
  <div id="olmap"></div>
</template>

<script setup>
const olmap = ref(null)

onMounted(() => {
  olmap.value = new window.Olmap({
    target: 'olmap',
    showLayerGruopId: 'imgLayerGroup',
  })

  olmap.value.on('load', () => {
    console.log(olmap.value, 'olmap...')
  })
})
</script>

<style lang='less' scoped>
#olmap {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}

</style>
